Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Battenberg Painting #547

Merged
merged 5 commits into from
Jul 21, 2024
Merged

Add Battenberg Painting #547

merged 5 commits into from
Jul 21, 2024

Conversation

Seren-35
Copy link
Contributor

@Seren-35 Seren-35 commented Jul 2, 2024

I was unable to determine where this genre originates from. The spelling of the first word in its name is wildly inconsistent. "Battenberg" seems to be supported by more sources, including the GAPP team, puzsq and Puzzle Duel, but "Battenburg" is used in Eric Fox's genre list and about equally common in casual conversation. I set the ID to just "batten" to avoid any potential mistakes arising from that.

The traditional symbol used for clues in this genre is a 2x2 checkerboard. Not a fan of this design choice but I kept it - just gave it a border so it looks a lot less trippy than in every other puzzle player I've seen it in once you shade around it.

When moving between cells adjacent to a common clue, and only then, mouse input follows rules similar to dynasty shading. Players have to shade checkerboard patterns a lot in this genre, so it seemed important to make that easy, and this solution has the best feel out of everything I tried.

Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pzprjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 21, 2024 6:03pm

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 96.47059% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.20%. Comparing base (714f14f) to head (8efd5b3).
Report is 17 commits behind head on main.

Files Patch % Lines
src/variety/batten.js 96.47% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #547      +/-   ##
==========================================
+ Coverage   91.16%   91.20%   +0.04%     
==========================================
  Files         190      192       +2     
  Lines       20976    21157     +181     
==========================================
+ Hits        19122    19296     +174     
- Misses       1854     1861       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@x-sheep x-sheep added the new genre For requesting or implementing new puzzle genres label Jul 3, 2024
@x-sheep x-sheep self-requested a review July 3, 2024 07:28
Copy link
Collaborator

@x-sheep x-sheep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Only two minor changes for this one.

src/pzpr/variety.js Outdated Show resolved Hide resolved
src/variety/batten.js Show resolved Hide resolved
Copy link
Collaborator

@x-sheep x-sheep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, I'll release this genre on the 22nd.

I like the appearance of the clues with the white outline, and the mouse input nudging the solver towards making checkerboard patterns is a great idea.

Thank you for the continued contributions!

@x-sheep x-sheep merged commit e42543d into robx:main Jul 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new genre For requesting or implementing new puzzle genres
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants